package com.lcxsoft.paymentservice.service;

import com.lcxsoft.commonutils.R;
import com.lcxsoft.paymentservice.entity.Payment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lcxsoft.paymentservice.query.PaymentQuery;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lcx
 * @since 2022-01-25
 */
public interface PaymentService extends IService<Payment> {

    void pay(PaymentQuery query, HttpServletRequest request, HttpServletResponse httpResponse) throws Exception;

    R payNotify(HttpServletRequest request) throws Exception;

}
